package com.zslc.foreignoption.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.sql.Timestamp;

/**
 * @version 1.0
 * @description:
 * @author: Gaoyc
 * @date: 2024-06-21 18:36
 **/
@Data
public class TweetInfo {
    private String uuid;
    private String type;
    private String id;
    private String url;
    private String twitterUrl;
    private String text;
    private String source;
    private Integer retweetCount;
    private Integer replyCount;
    private Integer likeCount;
    private Integer quoteCount;
    private Integer viewCount;
    @DateTimeFormat(pattern = "EEE MMM dd HH:mm:ss Z yyyy")
    private String createdAt;
    private String lang;
    private Integer bookmarkCount;
    private Boolean isReply;
    private String authorId;
    private String extendedEntities;
    private String card;
    private String place;
    private String entities;
    private Boolean isRetweet;
    private Boolean isQuote;
    private String media;
    private Boolean isConversationControlled;
    private String text_zh;

    private TweetAuthor author;
}
